//
//  CategoryTypeModel.m
//  XiaoHongShu
//
//  Created by Jason on 2022/8/9.
//

#import "CategoryTypeModel.h"

@implementation CategoryTypeModel

+ (NSDictionary *)modelCustomPropertyMapper {
    return @{
        @"categoryTypeId": @[@"id"]
    };
}

+(NSArray<CategoryTypeModel *> *)arrayFromJSONArray:(NSArray *)jsonArray {
    NSMutableArray<CategoryTypeModel *> *dataArr = [NSMutableArray array];
    for (NSDictionary *dict in jsonArray) {
        [dataArr addObject:[CategoryTypeModel yy_modelWithDictionary:dict]];
    }
    return [dataArr mutableCopy];
}

@end
